﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace Bet_Yatziv
{
    public partial class Menu : Form
    {
        public Menu()
        {
            InitializeComponent();
            AdoHelper.initialDataBase();
        }

        private void Bemployees_Click(object sender, EventArgs e)
        {
            this.Hide();
            Employees emp = new Employees();
            emp.ShowDialog();
            this.Show();
        }

        private void button1_Click(object sender, EventArgs e)
        {
            this.Hide();
            Costumers cost = new Costumers();
            cost.ShowDialog();
            this.Show();
        }

        private void button5_Click(object sender, EventArgs e)
        {
            this.Close();
        }

        private void button2_Click(object sender, EventArgs e)
        {
            this.Hide();
            Rooms vehi = new Rooms();
            vehi.ShowDialog();
            this.Show();
        }

        private void button3_Click(object sender, EventArgs e)
        {
            this.Hide();
            Rentals rent = new Rentals();
            rent.ShowDialog();
            this.Show();
        }

        private void button4_Click(object sender, EventArgs e)
        {
            this.Hide();
            Warehouse sale = new Warehouse();
            sale.ShowDialog();
            this.Show();
        }
    }
}
